<include file="Public:header" />
<SCRIPT language=JavaScript>
function checklogin() {
	if (document.myform.UserID.value=="") {
		alert("请输入收件人!");
		myform.UserID.focus();
		return false;
	}
	if (document.myform.Title.value=="") {
		alert("请输入邮件标题!");
		myform.Title.focus();
		return false;
	}
	return true;
}
</SCRIPT>
<div class="ncenter_box">
<div class="accounttitle"><h1>写邮件 </h1></div>
<form method='post' id="form1" name="myform" onSubmit="return checklogin()" action="__URL__/writeSave">
<table width="100%" border="0" cellpadding="5" cellspacing="5">
  <tr>
    <td width="28%" align="right">收件人编号：</td>
    <td width="72%">
    <input name="UserID" type="text"  id="UserID" value="公司" readonly="readonly"/>
    &nbsp;
    <label>
    <input name="level" type="radio" value="1" checked="checked" onclick="UserID.value='公司';UserID.readOnly=true;">
    给公司留言</label>&nbsp;
    <eq name="mrs.id" value="1">
    <label>
    <input name="level" type="radio" value="0" onclick="UserID.value='';UserID.readOnly=false;">
    给会员留言</label>
    </eq>
    </td>
  </tr>
  <tr>
    <td align="right">邮件标题：</td>
    <td><input name="Title" type="text"  id="Title" size="35" maxlength="200" /></td>
  </tr>
  <tr>
    <td align="right">邮件内容：</td>
    <td><textarea name="Msg" cols="45" rows="7" id="Msg"></textarea></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input name="submit" type="submit"  class="button_text" value="发 送" /></td>
  </tr>
</table>
</form>
</div>
</body>
</html>